package com.smedi.ismedi.progress.core.port.adapter.persistence.mybatis.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smedi.ismedi.progress.core.port.adapter.persistence.model.ProjectBriefReportDetailEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 进度计划表Mapper
 *
 * @author pengyan
 * @date 2021/08/28
 */
@Mapper
public interface ProjectBriefReportDetailMapper extends BaseMapper<ProjectBriefReportDetailEntity> {


    void insertBriefReportDetail(ProjectBriefReportDetailEntity projectBriefReportDetailEntity);

    Integer updateBatch(@Param("list") List<ProjectBriefReportDetailEntity> projectBriefReportDetailEntitys, @Param("briefReportType") Long briefReportType, @Param("remarksInformation") String remarksInformation, @Param("recordTime") LocalDateTime recordTime);
}